package com.android.common.flutter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flutter.plugin.common.MethodChannel;

/**
 * 回调只要MethodChannel通了，调用就是成功的，所以error，notImplemented没有用
 */
public class CustomMethodChannelResult implements MethodChannel.Result {
   @Override
   public void success(@Nullable Object result) {
   }

   @Override
   public void error(@NonNull String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails) {

   }

   @Override
   public void notImplemented() {

   }
}
